home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 26.zip / BS1 part 26 / Macro assembler dev syst.adf / include / exec / execbase.i < prev    next >
Text File  |  1985-12-20  |  4KB  |  121 lines

  1.     IFND EXEC_EXECBASE_I
  2. EXEC_EXECBASE_I SET 1
  3. **********************************************************************
  4. *
  5. * Commodore-Amiga, Inc. -- ROM Operating System Executive Include File
  6. *
  7. **********************************************************************
  8. *
  9. *   Source Control:
  10. *
  11. *  $Header: execbase.i,v 1.1 85/11/12 16:10:51 carl Exp $
  12. *
  13. *  $Locker: carl $
  14. *
  15. **********************************************************************
  16.  
  17.     IFND EXEC_LISTS_I
  18.     INCLUDE "exec/lists.i"
  19.     ENDC !EXEC_LISTS_I
  20.  
  21.     IFND EXEC_INTERRUPTS_I
  22.     INCLUDE "exec/interrupts.i"
  23.     ENDC !EXEC_INTERRUPTS_I
  24.  
  25.     IFND EXEC_LIBRARIES_I
  26.     INCLUDE "exec/libraries.i"
  27.     ENDC !EXEC_LIBRARIES_I
  28.  
  29.  
  30. ******* Static System Variables **************************************
  31.  
  32.  STRUCTURE  ExecBase,LIB_SIZE     ; Standard library node
  33.  
  34.             UWORD SoftVer         ; kickstart release number
  35.             WORD  LowMemChkSum    ; checksum of 68000 trap vectors
  36.             ULONG ChkBase         ; system base pointer complement
  37.             APTR  ColdCapture     ; cold soft capture vector
  38.             APTR  CoolCapture     ; cool soft capture vector
  39.             APTR  WarmCapture     ; warm soft capture vector
  40.             APTR  SysStkUpper     ; system stack base   (upper bound)
  41.             APTR  SysStkLower     ; top of system stack (lower bound)
  42.             ULONG MaxLocMem       ; last calculated local memory max
  43.             APTR DebugEntry       ; global debugger entry point
  44.             APTR DebugData        ; global debugger data segment
  45.             APTR AlertData        ; alert data segment
  46.             APTR RsvdExt          ; reserved
  47.  
  48.             WORD  ChkSum          ; for all of the above
  49.  
  50.  
  51. ******* Interrupt Related ********************************************
  52.  
  53.             LABEL  IntVects  
  54.             STRUCT   IVTBE,IV_SIZE
  55.             STRUCT   IVDSKBLK,IV_SIZE
  56.             STRUCT   IVSOFTINT,IV_SIZE
  57.             STRUCT   IVPORTS,IV_SIZE
  58.             STRUCT   IVCOPER,IV_SIZE
  59.             STRUCT   IVVERTB,IV_SIZE
  60.             STRUCT   IVBLIT,IV_SIZE
  61.             STRUCT   IVAUD0,IV_SIZE
  62.             STRUCT   IVAUD1,IV_SIZE
  63.             STRUCT   IVAUD2,IV_SIZE
  64.             STRUCT   IVAUD3,IV_SIZE
  65.             STRUCT   IVRBF,IV_SIZE
  66.             STRUCT   IVDSKSYNC,IV_SIZE
  67.             STRUCT   IVEXTER,IV_SIZE
  68.             STRUCT   IVINTEN,IV_SIZE
  69.             STRUCT   IVNMI,IV_SIZE
  70.  
  71.  
  72. ******* Dynamic System Variables *************************************
  73.  
  74.             APTR  ThisTask        ; pointer to current task
  75.             ULONG IdleCount       ; idle counter
  76.             ULONG DispCount       ; dispatch counter
  77.             UWORD Quantum         ; time slice quantum
  78.             UWORD Elapsed         ; current quantum ticks
  79.             UWORD SysFlags        ; misc system flags
  80.             BYTE  IDNestCnt       ; interrupt disable nesting count
  81.             BYTE  TDNestCnt       ; task disable nesting count
  82.  
  83.             UWORD AttnFlags       ; special attention flags
  84.             UWORD AttnResched     ; rescheduling attention
  85.             APTR  ResModules      ; pointer to resident module array
  86.  
  87.             APTR TaskTrapCode     ; default task trap routine
  88.             APTR TaskExceptCode   ; default task exception code
  89.             APTR TaskExitCode     ; default task exit code
  90.             ULONG TaskSigAlloc    ; preallocated signal mask
  91.             UWORD TaskTrapAlloc   ; preallocated trap mask
  92.  
  93.  
  94. ******* System List Headers ******************************************
  95.  
  96.             STRUCT   MemList,LH_SIZE
  97.             STRUCT   ResourceList,LH_SIZE
  98.             STRUCT   DeviceList,LH_SIZE
  99.             STRUCT   IntrList,LH_SIZE
  100.             STRUCT   LibList,LH_SIZE
  101.             STRUCT   PortList,LH_SIZE
  102.             STRUCT   TaskReady,LH_SIZE
  103.             STRUCT   TaskWait,LH_SIZE
  104.  
  105.             STRUCT   SoftInts,SH_SIZE*5
  106.  
  107.             STRUCT  LastAlert,4*4
  108.  
  109.             LONG ExecBaseReserved,4*8
  110.  
  111.             LABEL SYSBASESIZE
  112.  
  113. ******* AttnFlags
  114. *  Processors and Co-processors:
  115. AFB_68010   EQU      0  (will remain set for 68020 as well)
  116. AFB_68020   EQU      1
  117. AFB_68881   EQU      4
  118. AFB_PAL     EQU      8  PAL/NTSC
  119. AFB_50HZ    EQU      9  Clock Rate
  120.     ENDC !EXEC_EXECBASE_I
  121.